﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPPEI.ETL.DataServiceInterface
{
    /// <summary>
    /// 用于反馈目标系统数据接收情况的接口
    /// </summary>
    public interface IFeedback
    {
        /// <summary>
        /// 
        /// 反馈到目标系统
        /// </summary>
        /// <param name="source"></param>
        /// <param name="batchId">本系统抽取数据的批次号</param>
        /// <param name="sourceId">对方系统的数据源信息</param>
        /// <param name="dataCount">总数据数量</param>
        /// <param name="passedData">抽取对方系统数据的数据号</param>
        /// <param name="unpassedData">抽取对方系统数据的数据号</param>
        void Feedback(DataSourceInfo source, Guid batchId, Guid sourceId, long dataCount, Guid[] passedData, Guid[] unpassedData);
    }
}
